package com.peace.hospital.mapper.publicn;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.peace.hospital.entity.common.Drugcategory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 药品类别表 Mapper 接口
 * </p>
 *
 * @author xie
 * @since 2019-11-13
 */
@Mapper
public interface DrugcategoryMapper extends BaseMapper<Drugcategory> {
//    查询药品类别信息
    @Select("SELECT druname FROM hospital_public.drugcategory where druid=#{druid}")
    public Drugcategory findDca(int druid);
}
